/**
*Copyright (c) HNA SYSTEMS CO.,LTD
*
*@date 2008-11-25
*
*Original Author: shl_an
*
*ChangeLog:
*
* 
*/
package com.myway.dto.sitemessage;

import java.io.Serializable;
import java.util.Date;

//import com.hna.mars.service.sitemessage.EtSiteMessagePolicyTypeType;
//import com.hna.mars.service.user.dto.DTOAgentGroup;

/**
 * Title : DTOSiteMessage
 * @author shl_an
 * @description 
 * 
 * DTOSiteMessage实例对象类

 *	
 * @date 2008-11-25
 */
public class DTOSiteMessage implements Serializable 
{
    /**
     * id
     */
	private Long id;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 发件人

	 */
	private String sender;
	/**
	 * 发送时间

	 */
	private Date sendTime;
	/**
	 * 状态

	 */
	private String state;
	/**
	 * PGSGS-1353 政策类别 
	 */
//	private EtSiteMessagePolicyTypeType policyType;
	private String policyTypeStr;
	/**
	 * 代理人id
	 */
	private Long agentid;
	/**
	 * 代理人组中文名

	 */
	private String chineseName;// 代理人组中文名
	/**
	 * 截取一定长度的题目
	 */
	private String dTitle;
	/**
	 * 附件
	 */
	private String adjunct;//附件
	/**
	 * 附件组

	 */
	private String[] adjuncts;//附件
	/**
	 * 附件路径
	 */
	private String apath;//附件路径
	/**
	 * 附件路径组

	 */
	private String[] apaths;//附件路径
	/**
	 * 代理人组
	 */
//	private Set<DTOAgentGroup> agentGroups = new HashSet<DTOAgentGroup>(0);
//	
//	
//	
//	public EtSiteMessagePolicyTypeType getPolicyType() {
//		return policyType;
//	}
//	public void setPolicyType(EtSiteMessagePolicyTypeType policyType) {
//		this.policyType = policyType;
//	}
	public String getPolicyTypeStr() {
		return policyTypeStr;
	}
	public void setPolicyTypeStr(String policyTypeStr) {
		this.policyTypeStr = policyTypeStr;
	}
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	

//	public EtSiteMessagePolicyTypeType getPolicyTypetest() {
//		return policyTypetest;
//	}
//	public void setPolicyTypetest(EtSiteMessagePolicyTypeType policyTypetest) {
//		this.policyTypetest = policyTypetest;
//	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}
	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * @return the sender
	 */
	public String getSender() {
		return sender;
	}
	/**
	 * @param sender the sender to set
	 */
	public void setSender(String sender) {
		this.sender = sender;
	}
	/**
	 * @return the sendTime
	 */
	public Date getSendTime() {
		return sendTime;
	}
	/**
	 * @param sendTime the sendTime to set
	 */
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	/**
	 * @return the state
	 */
	public String getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(String state) {
		this.state = state;
	}
	
	/**
	 * @return the agentid
	 */
	public Long getAgentid() {
		return agentid;
	}
	/**
	 * @param agentid the agentid to set
	 */
	public void setAgentid(Long agentid) {
		this.agentid = agentid;
	}
	/**
	 * @return the agentGroups
	 */
//	public Set<DTOAgentGroup> getAgentGroups() {
//		return agentGroups;
//	}
//	/**
//	 * @param agentGroups the agentGroups to set
//	 */
//	public void setAgentGroups(Set<DTOAgentGroup> agentGroups) {
//		this.agentGroups = agentGroups;
//	}
	/**
	 * @return the chineseName
	 */
	public String getChineseName() {
		return chineseName;
	}
	/**
	 * @param chineseName the chineseName to set
	 */
	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}
	/**
	 * @return the adjunct
	 */
	public String getAdjunct() {
		return adjunct;
	}
	/**
	 * @param adjunct the adjunct to set
	 */
	public void setAdjunct(String adjunct) {
		this.adjunct = adjunct;
	}
	/**
	 * @return the dTitle
	 */
	public String getDTitle() {
		return dTitle;
	}
	/**
	 * @param title the dTitle to set
	 */
	public void setDTitle(String title) {
		dTitle = title;
	}
	/**
	 * @return the adjuncts
	 */
	public String[] getAdjuncts() {
		return adjuncts;
	}
	/**
	 * @param adjuncts the adjuncts to set
	 */
	public void setAdjuncts(String[] adjuncts) {
		this.adjuncts = adjuncts;
	}
	/**
	 * @return the apath
	 */
	public String getApath() {
		return apath;
	}
	/**
	 * @param apath the apath to set
	 */
	public void setApath(String apath) {
		this.apath = apath;
	}
	/**
	 * @return the apaths
	 */
	public String[] getApaths() {
		return apaths;
	}
	/**
	 * @param apaths the apaths to set
	 */
	public void setApaths(String[] apaths) {
		this.apaths = apaths;
	}
	
}
